﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.IO;
using System.Diagnostics;
using System.Text.RegularExpressions;

namespace FileConvert
{
    /// <summary>
    /// 提供FLV文件格式的转换
    /// </summary>
    internal class FLVConvert : ConvertBase, IFileConvert
    {

        #region IFileConvert 成员
        public MessageEntity Convert(string path)
        {
            return Convert(path, false);
        }
        public MessageEntity Convert(string path, bool IsGenerateImage)
        {
            return base.ConvertFile(" -i {0} -ab 56 -ar 22050 -b 500 -r 15 -s 320x240  {1} "
                , ".flv"
                , path
                , IsGenerateImage);
        }
        #endregion
    }
}
